<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
{if isset($aProducts) && isset($aProducts.products) && count($aProducts.products) > 0}
<div class="store_product">
    <div class="other_product">
        <h3 class="product_name">{$aProducts.album_title}</h3>
        <input type="hidden" id="target_album" value="{$aProducts.album_id}"/>
        {if count($aProducts.products) > 0}
        <ul class="product">
            {foreach from=$aProducts.products item=aListing}
            <li>
                <a href="{$aListing.url}" title="{$aListing.title}">
                    {img server_id=$aListing.server_id title=$aListing.title path='marketplace.url_image' file=$aListing.image_path suffix='_200_square' max_width='140' max_height='140'}
                    <p class="price">
                        {if $aListing.price == '0.00'}
                        {phrase var='marketplace.free'}
                        {else}
                        {$aListing.currency_id|currency_symbol}{$aListing.price|number_format:2}
                        {/if}
                    </p>
                </a>
            </li>
            {/foreach}
        </ul>
    </div>
    <div class="clear"></div>
    {else}
    No product
    {/if}

</div>
{/if}